package cn.k.service;

import cn.k.domain.MessageBoard;
import cn.k.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IMessageBoardService {
    void insert(MessageBoard messageBoard);

    void delete(Long id);

    void update(MessageBoard messageBoard);

    MessageBoard get(Long id);

    List<MessageBoard> selectAll();

    List<MessageBoard> selectForList(QueryObject qo);

    PageInfo<MessageBoard> query(QueryObject qo);

    MessageBoard selectReplyCount(Long id);
}
